package cn.com.hhrcw.mapper;

import cn.com.hhrcw.entity.EnInfo;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * <p>
 * 公司信息表 Mapper 接口
 * </p>
 *
 * @author jiangdong
 * @since 2020-10-29
 */
@Mapper
public interface EnInfoMapper extends BaseMapper<EnInfo> {

    /**
     * 分页查询
     *
     * @param page
     * @param queryWrapper
     * @return
     */
    @Override
    IPage<EnInfo> selectPage(IPage<EnInfo> page, @Param(Constants.WRAPPER) Wrapper<EnInfo> queryWrapper);

    /**
     * getFeedbackCount
     *
     * @param map
     * @return
     */
    Integer getFeedbackCount(Map<String, String> map);
}
